<?php
namespace App\Goods\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 商品规格Dto （导入导出）
 */
#[ExcelData]
class GoodsSkuDto implements MineModelExcel
{
    #[ExcelProperty(value: "记录ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "商品sku唯一标识 (由规格id组成)", index: 1)]
    public string $goods_sku_id;

    #[ExcelProperty(value: "商品ID", index: 2)]
    public string $goods_id;

    #[ExcelProperty(value: "规格图片ID", index: 3)]
    public string $image_id;

    #[ExcelProperty(value: "商品sku编码", index: 4)]
    public string $goods_sku_no;

    #[ExcelProperty(value: "商品价格", index: 5)]
    public string $goods_price;

    #[ExcelProperty(value: "商品划线价", index: 6)]
    public string $line_price;

    #[ExcelProperty(value: "当前库存数量", index: 7)]
    public string $stock_num;

    #[ExcelProperty(value: "商品重量(Kg)", index: 8)]
    public string $goods_weight;

    #[ExcelProperty(value: "SKU的规格属性(json格式)", index: 9)]
    public string $goods_props;

    #[ExcelProperty(value: "规格值ID集(json格式)", index: 10)]
    public string $spec_value_ids;

    #[ExcelProperty(value: "商城ID", index: 11)]
    public string $store_id;

    #[ExcelProperty(value: "创建时间", index: 12)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 13)]
    public string $update_time;


}